class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string :name
      t.string :email
      t.string :phone
      t.boolean :is_volunteer
      t.boolean :is_keyholder
      t.boolean :is_boardmember
      t.timestamps

      #authlogic stuff
      t.string    :crypted_password,    :null => false                # optional, see below
      t.string    :password_salt,       :null => false                # optional, but highly recommended
      t.string    :persistence_token,   :null => false                # required
      t.string    :single_access_token, :null => false                # optional, see Authlogic::Session::Params
      t.string    :perishable_token,    :null => false                # optional, see Authlogic::Session::Perishability

      
    end
  end

  def self.down
    drop_table :people
  end
end
